package com.smarthospital.dao.mapper;

import com.smarthospital.entity.pojo.SHDictionary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SHDictionaryDao {
    int insert(@Param("pojo") SHDictionary pojo);

    int insertSelective(@Param("pojo") SHDictionary pojo);

    int insertList(@Param("pojos") List<SHDictionary> pojo);

    int update(@Param("pojo") SHDictionary pojo);

    List<SHDictionary> queryBydictionaryCode(String dictionary);

    List<SHDictionary> queryIndictionaryCode(@Param("keys")List<String> keys);
}
